import Vue from 'vue'
import VueRouter from 'vue-router'
// import HomeView from '../views/HomeView.vue'
import HealtheD from '../views/HealtheD.vue'
import HealtheJiebX from '../views/HealtheJiebX.vue'
import HealtheJiaz from '../views/HealtheJiaz.vue'
import HealtheBili from '../views/HealtheBili.vue'
import HealtheGuomi from '../views/HealtheGuomi.vue'
import HealthFx from '../views/HealthFx.vue'
import HealthXli from '../views/HealthXli.vue'
import HealthZix from '../views/HealtheZix.vue'
import index from '../views/index.vue'
import Healthjkgy from '../views/Healthjkgy.vue'
import logg from '../views/logg.vue'
import HealtheZixX from '../views/HealtheZixX.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'index',
    component: index
  },
  {
    path:"/jkpg",
    name:"jkpg",
    component: () => import('../views/AboutView.vue')
  },
  {
    path: '/asetmeals',
    name: 'asetmeals',
    component: () => import('../components/jpxvuex/Asetmeals.vue'),
  },
  {
    path: '/Checkgroup',
    name: 'Checkgroup',
    component: () => import('../components/jpxvuex/Checkgroup.vue'),
  }, 
  {
    path:'/OrderNotes',
    name:'OrderNotes',
    component: () => import('../components/jpxvuex/OrderNotes.vue'),
  },
  {
    path:'/LoginView',
    name:'LoginView',
    component: () => import('../components/jpxvuex/LoginView.vue'),
  },
  {
    path:'/Checkitembg',
    name:'Checkitembg',
    component: () => import('../components/jpxvuex/Checkitembg.vue'),
  },
  {
    path: '/HealtheD',
    name: 'HealtheD',
    component:HealtheD,
    children:[
      {path:"HealtheJiebX",component:HealtheJiebX}
    ]
  },
  {
  path: '/HealtheJiebX',
    name: 'HealtheJiebX',
    component:HealtheJiebX,
  },
  {
    path: '/HealtheJiaz',
      name: 'HealtheJiaz',
      component:HealtheJiaz,
    },
  {
    path: '/HealtheBili',
      name: 'HealtheBili',
      component:HealtheBili,
    },
  {
    path: '/HealtheGuomi',
      name: 'HealtheGuomi',
      component:HealtheGuomi,
    },
    {
      path: '/HealthFx',
        name: 'HealthFx',
        component:HealthFx,
      },
      {
        path: '/HealthXli',
          name: 'HealthXli',
          component:HealthXli,
        },
        {
          path: '/HealthZix',
            name: 'HealthZix',
            component:HealthZix,
          },
        {
          path: '/index',
            name: 'index',
            component:index,
          },
          {
            path: '/Healthjkgy',
              name: 'Healthjkgy',
              component:Healthjkgy,
            },
            {
              path: '/logg',
                name: 'logg',
                component:logg,
              }
              ,
            {
              path: '/HealtheZixX',
                name: 'HealtheZixX',
                component:HealtheZixX,
              }
            
          

]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
